package com.example.zxx.shardingsphere.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * UserDto:模拟创建时间
 *
 * @author zhangxiaoxiang
 * @date 2021/09/27
 */
@Data
@ApiModel(value = "模拟创建时间", description = "模拟创建时间")
public class DateDto implements Serializable {
    /**
     * 开始时间戳 毫秒
     */
    @ApiModelProperty(value = "开始时间戳 毫秒", example = "1638028800000")
    private long start;
    /**
     * 结束时间戳
     */
    @ApiModelProperty(value = "结束时间戳", example = "1638115199000")
    private long end;
}
